package org.example.myleet.p976;

public class Main {
    public static void main(String[] args) {
        //case 1 5
//        int[] input = new int[]{2,1,2};
        //case 2 0
//        int[] input = new int[]{1,2,1};
        //case 3 10
//        int[] input = new int[]{3,2,3,4};
        //case 4 8
        int[] input = new int[]{3,6,2,3};
        Solution solution = new Solution();
        int answer = solution.largestPerimeter(input);
        System.out.println(answer);
    }
}
